Implement process_updates_recurse for GdkOffscreenWindow
authorKristian Rietveld <kris@gtk.org>
Wed, 22 Dec 2010 19:41:06 +0000 (20:41 +0100)
committerKristian Rietveld <kris@gtk.org>
Wed, 22 Dec 2010 19:41:39 +0000 (20:41 +0100)
Makes offscreen windows work again.

gdk/gdkoffscreenwindow.c

index 6c2c86406e5790ceecf32e4e3701e1488fd59f91..a4a0d418a95d48062f3971a4ae52271f4ff50577 100644 (file)
@@ -698,6 +698,13 @@ gdk_offscreen_window_set_boolean (GdkWindow *window,
 {
 }
 
+static void
+gdk_offscreen_window_process_updates_recurse (GdkWindow *window,
+                                              cairo_region_t *region)
+{
+  _gdk_window_process_updates_recurse (window, region);
+}
+
 static void
 gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass)
 {
@@ -779,7 +786,7 @@ gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass)
   impl_class->destroy_notify = NULL;
   impl_class->register_dnd = NULL;
   impl_class->drag_begin = NULL;
-  impl_class->process_updates_recurse = NULL;
+  impl_class->process_updates_recurse = gdk_offscreen_window_process_updates_recurse;
   impl_class->sync_rendering = NULL;
   impl_class->simulate_key = NULL;
   impl_class->simulate_button = NULL;